.class Lcom/example/m6wmr/YucartActivity$1;
.super Landroid/os/Handler;
.source "YucartActivity.java"


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/example/m6wmr/YucartActivity;->onCreate(Landroid/os/Bundle;)V
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic this$0:Lcom/example/m6wmr/YucartActivity;


# direct methods
.method constructor <init>(Lcom/example/m6wmr/YucartActivity;)V
    .locals 0

    .prologue
    .line 1
    iput-object p1, p0, Lcom/example/m6wmr/YucartActivity$1;->this$0:Lcom/example/m6wmr/YucartActivity;

    .line 112
    invoke-direct {p0}, Landroid/os/Handler;-><init>()V

    return-void
.end method


# virtual methods
.method public handleMessage(Landroid/os/Message;)V
    .locals 27
    .param p1, "msg"    # Landroid/os/Message;

    .prologue
    .line 114
    invoke-super/range {p0 .. p1}, Landroid/os/Handler;->handleMessage(Landroid/os/Message;)V

    .line 115
    move-object/from16 v0, p1

    iget v0, v0, Landroid/os/Message;->arg1:I

    move/from16 v23, v0

    sparse-switch v23, :sswitch_data_0

    .line 267
    :goto_0
    :sswitch_0
    return-void

    .line 119
    :sswitch_1
    move-object/from16 v0, p1

    iget-object v0, v0, Landroid/os/Message;->obj:Ljava/lang/Object;

    move-object/from16 v23, v0

    invoke-virtual/range {v23 .. v23}, Ljava/lang/Object;->toString()Ljava/lang/String;

    move-result-object v23

    const-string v24, "nologin"

    invoke-virtual/range {v23 .. v24}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v23

    if-eqz v23, :cond_0

    .line 120
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/example/m6wmr/YucartActivity$1;->this$0:Lcom/example/m6wmr/YucartActivity;

    move-object/from16 v23, v0

    invoke-virtual/range {v23 .. v23}, Lcom/example/m6wmr/YucartActivity;->waitlogin()V

    goto :goto_0

    .line 122
    :cond_0
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/example/m6wmr/YucartActivity$1;->this$0:Lcom/example/m6wmr/YucartActivity;

    move-object/from16 v23, v0

    # getter for: Lcom/example/m6wmr/YucartActivity;->mcontext:Landroid/content/Context;
    invoke-static/range {v23 .. v23}, Lcom/example/m6wmr/YucartActivity;->access$1(Lcom/example/m6wmr/YucartActivity;)Landroid/content/Context;

    move-result-object v23

    const-string v24, "\u63d0\u793a\u4fe1\u606f"

    move-object/from16 v0, p1

    iget-object v0, v0, Landroid/os/Message;->obj:Ljava/lang/Object;

    move-object/from16 v25, v0

    invoke-virtual/range {v25 .. v25}, Ljava/lang/Object;->toString()Ljava/lang/String;

    move-result-object v25

    invoke-static/range {v23 .. v25}, Lmyapp/Util;->alertdialog(Landroid/content/Context;Ljava/lang/String;Ljava/lang/String;)V

    goto :goto_0

    .line 126
    :sswitch_2
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/example/m6wmr/YucartActivity$1;->this$0:Lcom/example/m6wmr/YucartActivity;

    move-object/from16 v23, v0

    # getter for: Lcom/example/m6wmr/YucartActivity;->mcontext:Landroid/content/Context;
    invoke-static/range {v23 .. v23}, Lcom/example/m6wmr/YucartActivity;->access$1(Lcom/example/m6wmr/YucartActivity;)Landroid/content/Context;

    move-result-object v23

    const-string v24, "\u4fe1\u606f\u63d0\u793a"

    const-string v25, "\u6570\u636e\u683c\u5f0f\u9519\u8bef"

    invoke-static/range {v23 .. v25}, Lmyapp/Util;->alertdialog(Landroid/content/Context;Ljava/lang/String;Ljava/lang/String;)V

    goto :goto_0

    .line 129
    :sswitch_3
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/example/m6wmr/YucartActivity$1;->this$0:Lcom/example/m6wmr/YucartActivity;

    move-object/from16 v23, v0

    # getter for: Lcom/example/m6wmr/YucartActivity;->mcontext:Landroid/content/Context;
    invoke-static/range {v23 .. v23}, Lcom/example/m6wmr/YucartActivity;->access$1(Lcom/example/m6wmr/YucartActivity;)Landroid/content/Context;

    move-result-object v23

    const-string v24, "\u4fe1\u606f\u63d0\u793a"

    const-string v25, "\u8d2d\u7269\u8f66\u6570\u636e\u9519\u8bef"

    invoke-static/range {v23 .. v25}, Lmyapp/Util;->alertdialog(Landroid/content/Context;Ljava/lang/String;Ljava/lang/String;)V

    goto :goto_0

    .line 132
    :sswitch_4
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/example/m6wmr/YucartActivity$1;->this$0:Lcom/example/m6wmr/YucartActivity;

    move-object/from16 v23, v0

    # getter for: Lcom/example/m6wmr/YucartActivity;->mcontext:Landroid/content/Context;
    invoke-static/range {v23 .. v23}, Lcom/example/m6wmr/YucartActivity;->access$1(Lcom/example/m6wmr/YucartActivity;)Landroid/content/Context;

    move-result-object v23

    const-string v24, "\u4fe1\u606f\u63d0\u793a"

    const-string v25, "\u8d2d\u7269\u8f66\u6570\u636e\u4e3a\u7a7a"

    invoke-static/range {v23 .. v25}, Lmyapp/Util;->alertdialog(Landroid/content/Context;Ljava/lang/String;Ljava/lang/String;)V

    goto :goto_0

    .line 135
    :sswitch_5
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/example/m6wmr/YucartActivity$1;->this$0:Lcom/example/m6wmr/YucartActivity;

    move-object/from16 v23, v0

    # getter for: Lcom/example/m6wmr/YucartActivity;->goint:I
    invoke-static/range {v23 .. v23}, Lcom/example/m6wmr/YucartActivity;->access$8(Lcom/example/m6wmr/YucartActivity;)I

    move-result v23

    if-nez v23, :cond_3

    .line 136
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/example/m6wmr/YucartActivity$1;->this$0:Lcom/example/m6wmr/YucartActivity;

    move-object/from16 v23, v0

    move-object/from16 v0, v23

    iget-object v0, v0, Lcom/example/m6wmr/YucartActivity;->mycartstep1:Landroid/view/View;

    move-object/from16 v23, v0

    const v24, 0x7f0c023a

    invoke-virtual/range {v23 .. v24}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v18

    check-cast v18, Landroid/widget/TextView;

    .line 137
    .local v18, "selectpstime":Landroid/widget/TextView;
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/example/m6wmr/YucartActivity$1;->this$0:Lcom/example/m6wmr/YucartActivity;

    move-object/from16 v23, v0

    # getter for: Lcom/example/m6wmr/YucartActivity;->pstime:Ljava/lang/String;
    invoke-static/range {v23 .. v23}, Lcom/example/m6wmr/YucartActivity;->access$9(Lcom/example/m6wmr/YucartActivity;)Ljava/lang/String;

    move-result-object v23

    const-string v24, ""

    invoke-virtual/range {v23 .. v24}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v23

    if-eqz v23, :cond_2

    .line 141
    :try_start_0
    new-instance v13, Lorg/json/JSONObject;

    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/example/m6wmr/YucartActivity$1;->this$0:Lcom/example/m6wmr/YucartActivity;

    move-object/from16 v23, v0

    # getter for: Lcom/example/m6wmr/YucartActivity;->shopstr:Ljava/lang/String;
    invoke-static/range {v23 .. v23}, Lcom/example/m6wmr/YucartActivity;->access$10(Lcom/example/m6wmr/YucartActivity;)Ljava/lang/String;

    move-result-object v23

    move-object/from16 v0, v23

    invoke-direct {v13, v0}, Lorg/json/JSONObject;-><init>(Ljava/lang/String;)V

    .line 142
    .local v13, "json":Lorg/json/JSONObject;
    const-string v23, "msg"

    move-object/from16 v0, v23

    invoke-virtual {v13, v0}, Lorg/json/JSONObject;->getJSONObject(Ljava/lang/String;)Lorg/json/JSONObject;

    move-result-object v12

    .line 143
    .local v12, "jarray":Lorg/json/JSONObject;
    const-string v23, "timelist"

    move-object/from16 v0, v23

    invoke-virtual {v12, v0}, Lorg/json/JSONObject;->getJSONArray(Ljava/lang/String;)Lorg/json/JSONArray;

    move-result-object v14

    .line 144
    .local v14, "myarray":Lorg/json/JSONArray;
    invoke-virtual {v14}, Lorg/json/JSONArray;->length()I

    move-result v23

    if-lez v23, :cond_1

    .line 148
    new-instance v23, Ljava/lang/StringBuilder;

    const/16 v24, 0x0

    move/from16 v0, v24

    invoke-virtual {v14, v0}, Lorg/json/JSONArray;->getJSONObject(I)Lorg/json/JSONObject;

    move-result-object v24

    const-string v25, "s"

    invoke-virtual/range {v24 .. v25}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v24

    invoke-static/range {v24 .. v24}, Ljava/lang/String;->valueOf(Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v24

    invoke-direct/range {v23 .. v24}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    const-string v24, "-"

    invoke-virtual/range {v23 .. v24}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v23

    const/16 v24, 0x0

    move/from16 v0, v24

    invoke-virtual {v14, v0}, Lorg/json/JSONArray;->getJSONObject(I)Lorg/json/JSONObject;

    move-result-object v24

    const-string v25, "e"

    invoke-virtual/range {v24 .. v25}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v24

    invoke-virtual/range {v23 .. v24}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v23

    invoke-virtual/range {v23 .. v23}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v23

    move-object/from16 v0, v18

    move-object/from16 v1, v23

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    .line 149
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/example/m6wmr/YucartActivity$1;->this$0:Lcom/example/m6wmr/YucartActivity;

    move-object/from16 v23, v0

    const/16 v24, 0x0

    move/from16 v0, v24

    invoke-virtual {v14, v0}, Lorg/json/JSONArray;->getJSONObject(I)Lorg/json/JSONObject;

    move-result-object v24

    const-string v25, "value"

    invoke-virtual/range {v24 .. v25}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v24

    invoke-static/range {v23 .. v24}, Lcom/example/m6wmr/YucartActivity;->access$11(Lcom/example/m6wmr/YucartActivity;Ljava/lang/String;)V

    .line 150
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/example/m6wmr/YucartActivity$1;->this$0:Lcom/example/m6wmr/YucartActivity;

    move-object/from16 v23, v0

    new-instance v24, Ljava/lang/StringBuilder;

    const/16 v25, 0x0

    move/from16 v0, v25

    invoke-virtual {v14, v0}, Lorg/json/JSONArray;->getJSONObject(I)Lorg/json/JSONObject;

    move-result-object v25

    const-string v26, "s"

    invoke-virtual/range {v25 .. v26}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v25

    invoke-static/range {v25 .. v25}, Ljava/lang/String;->valueOf(Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v25

    invoke-direct/range {v24 .. v25}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    const-string v25, "-"

    invoke-virtual/range {v24 .. v25}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v24

    const/16 v25, 0x0

    move/from16 v0, v25

    invoke-virtual {v14, v0}, Lorg/json/JSONArray;->getJSONObject(I)Lorg/json/JSONObject;

    move-result-object v25

    const-string v26, "e"

    invoke-virtual/range {v25 .. v26}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v25

    invoke-virtual/range {v24 .. v25}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v24

    invoke-virtual/range {v24 .. v24}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v24

    invoke-static/range {v23 .. v24}, Lcom/example/m6wmr/YucartActivity;->access$12(Lcom/example/m6wmr/YucartActivity;Ljava/lang/String;)V
    :try_end_0
    .catch Lorg/json/JSONException; {:try_start_0 .. :try_end_0} :catch_0

    .line 209
    .end local v12    # "jarray":Lorg/json/JSONObject;
    .end local v13    # "json":Lorg/json/JSONObject;
    .end local v14    # "myarray":Lorg/json/JSONArray;
    .end local v18    # "selectpstime":Landroid/widget/TextView;
    :cond_1
    :goto_1
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/example/m6wmr/YucartActivity$1;->this$0:Lcom/example/m6wmr/YucartActivity;

    move-object/from16 v23, v0

    const/16 v24, 0x1

    invoke-static/range {v23 .. v24}, Lcom/example/m6wmr/YucartActivity;->access$14(Lcom/example/m6wmr/YucartActivity;Z)V

    goto/16 :goto_0

    .line 152
    .restart local v18    # "selectpstime":Landroid/widget/TextView;
    :catch_0
    move-exception v6

    .line 154
    .local v6, "e":Lorg/json/JSONException;
    invoke-virtual {v6}, Lorg/json/JSONException;->printStackTrace()V

    goto :goto_1

    .line 158
    .end local v6    # "e":Lorg/json/JSONException;
    :cond_2
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/example/m6wmr/YucartActivity$1;->this$0:Lcom/example/m6wmr/YucartActivity;

    move-object/from16 v23, v0

    # getter for: Lcom/example/m6wmr/YucartActivity;->pstimename:Ljava/lang/String;
    invoke-static/range {v23 .. v23}, Lcom/example/m6wmr/YucartActivity;->access$13(Lcom/example/m6wmr/YucartActivity;)Ljava/lang/String;

    move-result-object v23

    move-object/from16 v0, v18

    move-object/from16 v1, v23

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    goto :goto_1

    .line 163
    .end local v18    # "selectpstime":Landroid/widget/TextView;
    :cond_3
    :try_start_1
    new-instance v13, Lorg/json/JSONObject;

    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/example/m6wmr/YucartActivity$1;->this$0:Lcom/example/m6wmr/YucartActivity;

    move-object/from16 v23, v0

    # getter for: Lcom/example/m6wmr/YucartActivity;->shopstr:Ljava/lang/String;
    invoke-static/range {v23 .. v23}, Lcom/example/m6wmr/YucartActivity;->access$10(Lcom/example/m6wmr/YucartActivity;)Ljava/lang/String;

    move-result-object v23

    move-object/from16 v0, v23

    invoke-direct {v13, v0}, Lorg/json/JSONObject;-><init>(Ljava/lang/String;)V

    .line 164
    .restart local v13    # "json":Lorg/json/JSONObject;
    const-string v23, "msg"

    move-object/from16 v0, v23

    invoke-virtual {v13, v0}, Lorg/json/JSONObject;->getJSONObject(Ljava/lang/String;)Lorg/json/JSONObject;

    move-result-object v12

    .line 166
    .restart local v12    # "jarray":Lorg/json/JSONObject;
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/example/m6wmr/YucartActivity$1;->this$0:Lcom/example/m6wmr/YucartActivity;

    move-object/from16 v23, v0

    move-object/from16 v0, v23

    iget-object v0, v0, Lcom/example/m6wmr/YucartActivity;->mycartstep2:Landroid/view/View;

    move-object/from16 v23, v0

    const v24, 0x7f0c0127

    invoke-virtual/range {v23 .. v24}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v2

    check-cast v2, Landroid/widget/TextView;

    .line 167
    .local v2, "allcost":Landroid/widget/TextView;
    new-instance v23, Ljava/lang/StringBuilder;

    const-string v24, "\uffe5"

    invoke-direct/range {v23 .. v24}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    const-string v24, "allcost"

    move-object/from16 v0, v24

    invoke-virtual {v12, v0}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v24

    invoke-virtual/range {v23 .. v24}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v23

    invoke-virtual/range {v23 .. v23}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v23

    move-object/from16 v0, v23

    invoke-virtual {v2, v0}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    .line 169
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/example/m6wmr/YucartActivity$1;->this$0:Lcom/example/m6wmr/YucartActivity;

    move-object/from16 v23, v0

    move-object/from16 v0, v23

    iget-object v0, v0, Lcom/example/m6wmr/YucartActivity;->mycartstep2:Landroid/view/View;

    move-object/from16 v23, v0

    const v24, 0x7f0c0242

    invoke-virtual/range {v23 .. v24}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v19

    check-cast v19, Landroid/widget/TextView;

    .line 170
    .local v19, "surecost":Landroid/widget/TextView;
    new-instance v23, Ljava/lang/StringBuilder;

    const-string v24, "\uffe5"

    invoke-direct/range {v23 .. v24}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    const-string v24, "surecost2"

    move-object/from16 v0, v24

    invoke-virtual {v12, v0}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v24

    invoke-virtual/range {v23 .. v24}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v23

    invoke-virtual/range {v23 .. v23}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v23

    move-object/from16 v0, v19

    move-object/from16 v1, v23

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    .line 172
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/example/m6wmr/YucartActivity$1;->this$0:Lcom/example/m6wmr/YucartActivity;

    move-object/from16 v23, v0

    move-object/from16 v0, v23

    iget-object v0, v0, Lcom/example/m6wmr/YucartActivity;->mycartstep2:Landroid/view/View;

    move-object/from16 v23, v0

    const v24, 0x7f0c0240

    invoke-virtual/range {v23 .. v24}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v5

    check-cast v5, Landroid/widget/LinearLayout;

    .line 173
    .local v5, "catdet":Landroid/widget/LinearLayout;
    invoke-virtual {v5}, Landroid/widget/LinearLayout;->removeAllViews()V

    .line 178
    const-string v23, "cxlist"

    move-object/from16 v0, v23

    invoke-virtual {v12, v0}, Lorg/json/JSONObject;->getJSONArray(Ljava/lang/String;)Lorg/json/JSONArray;

    move-result-object v20

    .line 179
    .local v20, "tarray":Lorg/json/JSONArray;
    const/4 v11, 0x0

    .local v11, "j":I
    :goto_2
    invoke-virtual/range {v20 .. v20}, Lorg/json/JSONArray;->length()I

    move-result v23

    move/from16 v0, v23

    if-lt v11, v0, :cond_4

    .line 193
    invoke-virtual/range {v20 .. v20}, Lorg/json/JSONArray;->length()I

    move-result v23

    const/16 v24, 0x1

    move/from16 v0, v23

    move/from16 v1, v24

    if-ge v0, v1, :cond_1

    .line 194
    const/16 v23, 0x8

    move/from16 v0, v23

    invoke-virtual {v5, v0}, Landroid/widget/LinearLayout;->setVisibility(I)V
    :try_end_1
    .catch Lorg/json/JSONException; {:try_start_1 .. :try_end_1} :catch_1

    goto/16 :goto_1

    .line 201
    .end local v2    # "allcost":Landroid/widget/TextView;
    .end local v5    # "catdet":Landroid/widget/LinearLayout;
    .end local v11    # "j":I
    .end local v12    # "jarray":Lorg/json/JSONObject;
    .end local v13    # "json":Lorg/json/JSONObject;
    .end local v19    # "surecost":Landroid/widget/TextView;
    .end local v20    # "tarray":Lorg/json/JSONArray;
    :catch_1
    move-exception v6

    .line 203
    .restart local v6    # "e":Lorg/json/JSONException;
    invoke-virtual {v6}, Lorg/json/JSONException;->printStackTrace()V

    goto/16 :goto_1

    .line 180
    .end local v6    # "e":Lorg/json/JSONException;
    .restart local v2    # "allcost":Landroid/widget/TextView;
    .restart local v5    # "catdet":Landroid/widget/LinearLayout;
    .restart local v11    # "j":I
    .restart local v12    # "jarray":Lorg/json/JSONObject;
    .restart local v13    # "json":Lorg/json/JSONObject;
    .restart local v19    # "surecost":Landroid/widget/TextView;
    .restart local v20    # "tarray":Lorg/json/JSONArray;
    :cond_4
    :try_start_2
    const-string v23, "\u4fc3\u9500"

    move-object/from16 v0, v20

    invoke-virtual {v0, v11}, Lorg/json/JSONArray;->getJSONObject(I)Lorg/json/JSONObject;

    move-result-object v24

    const-string v25, "name"

    invoke-virtual/range {v24 .. v25}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v24

    invoke-static/range {v23 .. v24}, Lmyapp/Mylog;->v(Ljava/lang/String;Ljava/lang/String;)V

    .line 182
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/example/m6wmr/YucartActivity$1;->this$0:Lcom/example/m6wmr/YucartActivity;

    move-object/from16 v23, v0

    # getter for: Lcom/example/m6wmr/YucartActivity;->mcontext:Landroid/content/Context;
    invoke-static/range {v23 .. v23}, Lcom/example/m6wmr/YucartActivity;->access$1(Lcom/example/m6wmr/YucartActivity;)Landroid/content/Context;

    move-result-object v23

    const v24, 0x7f030057

    const/16 v25, 0x0

    invoke-static/range {v23 .. v25}, Landroid/view/View;->inflate(Landroid/content/Context;ILandroid/view/ViewGroup;)Landroid/view/View;

    move-result-object v21

    .line 183
    .local v21, "tempview":Landroid/view/View;
    const v23, 0x7f0c000a

    move-object/from16 v0, v21

    move/from16 v1, v23

    invoke-virtual {v0, v1}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v9

    check-cast v9, Landroid/widget/ImageView;

    .line 184
    .local v9, "imageView1":Landroid/widget/ImageView;
    new-instance v8, LPlugclass/ImageLoader;

    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/example/m6wmr/YucartActivity$1;->this$0:Lcom/example/m6wmr/YucartActivity;

    move-object/from16 v23, v0

    # getter for: Lcom/example/m6wmr/YucartActivity;->mcontext:Landroid/content/Context;
    invoke-static/range {v23 .. v23}, Lcom/example/m6wmr/YucartActivity;->access$1(Lcom/example/m6wmr/YucartActivity;)Landroid/content/Context;

    move-result-object v23

    move-object/from16 v0, v23

    invoke-direct {v8, v0}, LPlugclass/ImageLoader;-><init>(Landroid/content/Context;)V

    .line 185
    .local v8, "imageLoader":LPlugclass/ImageLoader;
    move-object/from16 v0, v20

    invoke-virtual {v0, v11}, Lorg/json/JSONArray;->getJSONObject(I)Lorg/json/JSONObject;

    move-result-object v23

    const-string v24, "logo"

    invoke-virtual/range {v23 .. v24}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v23

    move-object/from16 v0, v23

    invoke-virtual {v8, v0, v9}, LPlugclass/ImageLoader;->DisplayImage(Ljava/lang/String;Landroid/widget/ImageView;)V

    .line 187
    const v23, 0x7f0c0013

    move-object/from16 v0, v21

    move/from16 v1, v23

    invoke-virtual {v0, v1}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v22

    check-cast v22, Landroid/widget/TextView;

    .line 188
    .local v22, "textView1":Landroid/widget/TextView;
    move-object/from16 v0, v20

    invoke-virtual {v0, v11}, Lorg/json/JSONArray;->getJSONObject(I)Lorg/json/JSONObject;

    move-result-object v23

    const-string v24, "name"

    invoke-virtual/range {v23 .. v24}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v23

    invoke-virtual/range {v22 .. v23}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    .line 191
    move-object/from16 v0, v21

    invoke-virtual {v5, v0}, Landroid/widget/LinearLayout;->addView(Landroid/view/View;)V
    :try_end_2
    .catch Lorg/json/JSONException; {:try_start_2 .. :try_end_2} :catch_1

    .line 179
    add-int/lit8 v11, v11, 0x1

    goto/16 :goto_2

    .line 212
    .end local v2    # "allcost":Landroid/widget/TextView;
    .end local v5    # "catdet":Landroid/widget/LinearLayout;
    .end local v8    # "imageLoader":LPlugclass/ImageLoader;
    .end local v9    # "imageView1":Landroid/widget/ImageView;
    .end local v11    # "j":I
    .end local v12    # "jarray":Lorg/json/JSONObject;
    .end local v13    # "json":Lorg/json/JSONObject;
    .end local v19    # "surecost":Landroid/widget/TextView;
    .end local v20    # "tarray":Lorg/json/JSONArray;
    .end local v21    # "tempview":Landroid/view/View;
    .end local v22    # "textView1":Landroid/widget/TextView;
    :sswitch_6
    const-string v23, "YucartACtivity"

    const-string v24, "\u8c03\u7528\u6309\u94ae\u5207\u6362"

    invoke-static/range {v23 .. v24}, Lmyapp/Mylog;->d(Ljava/lang/String;Ljava/lang/String;)V

    .line 213
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/example/m6wmr/YucartActivity$1;->this$0:Lcom/example/m6wmr/YucartActivity;

    move-object/from16 v23, v0

    move-object/from16 v0, v23

    iget-object v0, v0, Lcom/example/m6wmr/YucartActivity;->mycartstep1:Landroid/view/View;

    move-object/from16 v23, v0

    const v24, 0x7f0c023d

    invoke-virtual/range {v23 .. v24}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v16

    check-cast v16, Landroid/widget/ImageView;

    .line 214
    .local v16, "payxianjinbtn":Landroid/widget/ImageView;
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/example/m6wmr/YucartActivity$1;->this$0:Lcom/example/m6wmr/YucartActivity;

    move-object/from16 v23, v0

    move-object/from16 v0, v23

    iget-object v0, v0, Lcom/example/m6wmr/YucartActivity;->mycartstep1:Landroid/view/View;

    move-object/from16 v23, v0

    const v24, 0x7f0c023f

    invoke-virtual/range {v23 .. v24}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v15

    check-cast v15, Landroid/widget/ImageView;

    .line 215
    .local v15, "paylinebtn":Landroid/widget/ImageView;
    move-object/from16 v0, p1

    iget-object v0, v0, Landroid/os/Message;->obj:Ljava/lang/Object;

    move-object/from16 v23, v0

    invoke-virtual/range {v23 .. v23}, Ljava/lang/Object;->toString()Ljava/lang/String;

    move-result-object v23

    invoke-static/range {v23 .. v23}, Ljava/lang/Integer;->valueOf(Ljava/lang/String;)Ljava/lang/Integer;

    move-result-object v23

    invoke-virtual/range {v23 .. v23}, Ljava/lang/Integer;->intValue()I

    move-result v23

    const/16 v24, 0x1

    move/from16 v0, v23

    move/from16 v1, v24

    if-ne v0, v1, :cond_5

    .line 216
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/example/m6wmr/YucartActivity$1;->this$0:Lcom/example/m6wmr/YucartActivity;

    move-object/from16 v23, v0

    # getter for: Lcom/example/m6wmr/YucartActivity;->mcontext:Landroid/content/Context;
    invoke-static/range {v23 .. v23}, Lcom/example/m6wmr/YucartActivity;->access$1(Lcom/example/m6wmr/YucartActivity;)Landroid/content/Context;

    move-result-object v23

    invoke-virtual/range {v23 .. v23}, Landroid/content/Context;->getResources()Landroid/content/res/Resources;

    move-result-object v17

    .line 217
    .local v17, "resources":Landroid/content/res/Resources;
    const v23, 0x7f0200df

    move-object/from16 v0, v17

    move/from16 v1, v23

    invoke-virtual {v0, v1}, Landroid/content/res/Resources;->getDrawable(I)Landroid/graphics/drawable/Drawable;

    move-result-object v3

    .line 218
    .local v3, "btnDrawable":Landroid/graphics/drawable/Drawable;
    move-object/from16 v0, v16

    invoke-virtual {v0, v3}, Landroid/widget/ImageView;->setImageDrawable(Landroid/graphics/drawable/Drawable;)V

    .line 220
    const v23, 0x7f020052

    move-object/from16 v0, v17

    move/from16 v1, v23

    invoke-virtual {v0, v1}, Landroid/content/res/Resources;->getDrawable(I)Landroid/graphics/drawable/Drawable;

    move-result-object v4

    .line 221
    .local v4, "btnDrawables":Landroid/graphics/drawable/Drawable;
    invoke-virtual {v15, v4}, Landroid/widget/ImageView;->setImageDrawable(Landroid/graphics/drawable/Drawable;)V

    .line 222
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/example/m6wmr/YucartActivity$1;->this$0:Lcom/example/m6wmr/YucartActivity;

    move-object/from16 v23, v0

    const-string v24, "0"

    invoke-static/range {v23 .. v24}, Lcom/example/m6wmr/YucartActivity;->access$15(Lcom/example/m6wmr/YucartActivity;Ljava/lang/String;)V

    goto/16 :goto_0

    .line 225
    .end local v3    # "btnDrawable":Landroid/graphics/drawable/Drawable;
    .end local v4    # "btnDrawables":Landroid/graphics/drawable/Drawable;
    .end local v17    # "resources":Landroid/content/res/Resources;
    :cond_5
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/example/m6wmr/YucartActivity$1;->this$0:Lcom/example/m6wmr/YucartActivity;

    move-object/from16 v23, v0

    # getter for: Lcom/example/m6wmr/YucartActivity;->mcontext:Landroid/content/Context;
    invoke-static/range {v23 .. v23}, Lcom/example/m6wmr/YucartActivity;->access$1(Lcom/example/m6wmr/YucartActivity;)Landroid/content/Context;

    move-result-object v23

    invoke-virtual/range {v23 .. v23}, Landroid/content/Context;->getResources()Landroid/content/res/Resources;

    move-result-object v17

    .line 226
    .restart local v17    # "resources":Landroid/content/res/Resources;
    const v23, 0x7f0200df

    move-object/from16 v0, v17

    move/from16 v1, v23

    invoke-virtual {v0, v1}, Landroid/content/res/Resources;->getDrawable(I)Landroid/graphics/drawable/Drawable;

    move-result-object v3

    .line 227
    .restart local v3    # "btnDrawable":Landroid/graphics/drawable/Drawable;
    invoke-virtual {v15, v3}, Landroid/widget/ImageView;->setImageDrawable(Landroid/graphics/drawable/Drawable;)V

    .line 229
    const v23, 0x7f020052

    move-object/from16 v0, v17

    move/from16 v1, v23

    invoke-virtual {v0, v1}, Landroid/content/res/Resources;->getDrawable(I)Landroid/graphics/drawable/Drawable;

    move-result-object v4

    .line 230
    .restart local v4    # "btnDrawables":Landroid/graphics/drawable/Drawable;
    move-object/from16 v0, v16

    invoke-virtual {v0, v4}, Landroid/widget/ImageView;->setImageDrawable(Landroid/graphics/drawable/Drawable;)V

    .line 231
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/example/m6wmr/YucartActivity$1;->this$0:Lcom/example/m6wmr/YucartActivity;

    move-object/from16 v23, v0

    const-string v24, "1"

    invoke-static/range {v23 .. v24}, Lcom/example/m6wmr/YucartActivity;->access$15(Lcom/example/m6wmr/YucartActivity;Ljava/lang/String;)V

    goto/16 :goto_0

    .line 237
    .end local v3    # "btnDrawable":Landroid/graphics/drawable/Drawable;
    .end local v4    # "btnDrawables":Landroid/graphics/drawable/Drawable;
    .end local v15    # "paylinebtn":Landroid/widget/ImageView;
    .end local v16    # "payxianjinbtn":Landroid/widget/ImageView;
    .end local v17    # "resources":Landroid/content/res/Resources;
    :sswitch_7
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/example/m6wmr/YucartActivity$1;->this$0:Lcom/example/m6wmr/YucartActivity;

    move-object/from16 v23, v0

    # getter for: Lcom/example/m6wmr/YucartActivity;->goodsls:Ljava/util/List;
    invoke-static/range {v23 .. v23}, Lcom/example/m6wmr/YucartActivity;->access$0(Lcom/example/m6wmr/YucartActivity;)Ljava/util/List;

    move-result-object v23

    invoke-interface/range {v23 .. v23}, Ljava/util/List;->clear()V

    .line 238
    const/4 v7, 0x0

    .local v7, "i":I
    :goto_3
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/example/m6wmr/YucartActivity$1;->this$0:Lcom/example/m6wmr/YucartActivity;

    move-object/from16 v23, v0

    # getter for: Lcom/example/m6wmr/YucartActivity;->tempgoodsls:Ljava/util/List;
    invoke-static/range {v23 .. v23}, Lcom/example/m6wmr/YucartActivity;->access$16(Lcom/example/m6wmr/YucartActivity;)Ljava/util/List;

    move-result-object v23

    invoke-interface/range {v23 .. v23}, Ljava/util/List;->size()I

    move-result v23

    move/from16 v0, v23

    if-lt v7, v0, :cond_6

    .line 242
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/example/m6wmr/YucartActivity$1;->this$0:Lcom/example/m6wmr/YucartActivity;

    move-object/from16 v23, v0

    move-object/from16 v0, v23

    iget-object v0, v0, Lcom/example/m6wmr/YucartActivity;->publayout:Landroid/widget/LinearLayout;

    move-object/from16 v23, v0

    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/example/m6wmr/YucartActivity$1;->this$0:Lcom/example/m6wmr/YucartActivity;

    move-object/from16 v24, v0

    move-object/from16 v0, v24

    iget-object v0, v0, Lcom/example/m6wmr/YucartActivity;->mycartstep1:Landroid/view/View;

    move-object/from16 v24, v0

    invoke-virtual/range {v23 .. v24}, Landroid/widget/LinearLayout;->addView(Landroid/view/View;)V

    .line 243
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/example/m6wmr/YucartActivity$1;->this$0:Lcom/example/m6wmr/YucartActivity;

    move-object/from16 v23, v0

    invoke-virtual/range {v23 .. v23}, Lcom/example/m6wmr/YucartActivity;->freshcart()V

    .line 244
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/example/m6wmr/YucartActivity$1;->this$0:Lcom/example/m6wmr/YucartActivity;

    move-object/from16 v23, v0

    invoke-virtual/range {v23 .. v23}, Lcom/example/m6wmr/YucartActivity;->getcxSource()Z

    goto/16 :goto_0

    .line 239
    :cond_6
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/example/m6wmr/YucartActivity$1;->this$0:Lcom/example/m6wmr/YucartActivity;

    move-object/from16 v23, v0

    # getter for: Lcom/example/m6wmr/YucartActivity;->goodsls:Ljava/util/List;
    invoke-static/range {v23 .. v23}, Lcom/example/m6wmr/YucartActivity;->access$0(Lcom/example/m6wmr/YucartActivity;)Ljava/util/List;

    move-result-object v24

    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/example/m6wmr/YucartActivity$1;->this$0:Lcom/example/m6wmr/YucartActivity;

    move-object/from16 v23, v0

    # getter for: Lcom/example/m6wmr/YucartActivity;->tempgoodsls:Ljava/util/List;
    invoke-static/range {v23 .. v23}, Lcom/example/m6wmr/YucartActivity;->access$16(Lcom/example/m6wmr/YucartActivity;)Ljava/util/List;

    move-result-object v23

    move-object/from16 v0, v23

    invoke-interface {v0, v7}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v23

    check-cast v23, Lbean/GoodsBean;

    move-object/from16 v0, v24

    move-object/from16 v1, v23

    invoke-interface {v0, v1}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    .line 238
    add-int/lit8 v7, v7, 0x1

    goto :goto_3

    .line 247
    .end local v7    # "i":I
    :sswitch_8
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/example/m6wmr/YucartActivity$1;->this$0:Lcom/example/m6wmr/YucartActivity;

    move-object/from16 v23, v0

    # getter for: Lcom/example/m6wmr/YucartActivity;->db:Landroid/database/sqlite/SQLiteDatabase;
    invoke-static/range {v23 .. v23}, Lcom/example/m6wmr/YucartActivity;->access$5(Lcom/example/m6wmr/YucartActivity;)Landroid/database/sqlite/SQLiteDatabase;

    move-result-object v23

    const-string v24, "cart"

    new-instance v25, Ljava/lang/StringBuilder;

    const-string v26, "shopid = \'"

    invoke-direct/range {v25 .. v26}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/example/m6wmr/YucartActivity$1;->this$0:Lcom/example/m6wmr/YucartActivity;

    move-object/from16 v26, v0

    # getter for: Lcom/example/m6wmr/YucartActivity;->shopid:Ljava/lang/String;
    invoke-static/range {v26 .. v26}, Lcom/example/m6wmr/YucartActivity;->access$7(Lcom/example/m6wmr/YucartActivity;)Ljava/lang/String;

    move-result-object v26

    invoke-virtual/range {v25 .. v26}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v25

    const-string v26, "\'"

    invoke-virtual/range {v25 .. v26}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v25

    invoke-virtual/range {v25 .. v25}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v25

    const/16 v26, 0x0

    invoke-virtual/range {v23 .. v26}, Landroid/database/sqlite/SQLiteDatabase;->delete(Ljava/lang/String;Ljava/lang/String;[Ljava/lang/String;)I

    .line 248
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/example/m6wmr/YucartActivity$1;->this$0:Lcom/example/m6wmr/YucartActivity;

    move-object/from16 v23, v0

    # getter for: Lcom/example/m6wmr/YucartActivity;->payline:Ljava/lang/String;
    invoke-static/range {v23 .. v23}, Lcom/example/m6wmr/YucartActivity;->access$17(Lcom/example/m6wmr/YucartActivity;)Ljava/lang/String;

    move-result-object v23

    const-string v24, "0"

    invoke-virtual/range {v23 .. v24}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v23

    if-eqz v23, :cond_7

    .line 249
    new-instance v10, Landroid/content/Intent;

    invoke-direct {v10}, Landroid/content/Intent;-><init>()V

    .line 250
    .local v10, "intent":Landroid/content/Intent;
    const-string v23, "orderid"

    move-object/from16 v0, p1

    iget-object v0, v0, Landroid/os/Message;->obj:Ljava/lang/Object;

    move-object/from16 v24, v0

    invoke-virtual/range {v24 .. v24}, Ljava/lang/Object;->toString()Ljava/lang/String;

    move-result-object v24

    move-object/from16 v0, v23

    move-object/from16 v1, v24

    invoke-virtual {v10, v0, v1}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;

    .line 251
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/example/m6wmr/YucartActivity$1;->this$0:Lcom/example/m6wmr/YucartActivity;

    move-object/from16 v23, v0

    const-class v24, Lcom/wmr/order/OrderDetFrameActivity;

    move-object/from16 v0, v23

    move-object/from16 v1, v24

    invoke-virtual {v10, v0, v1}, Landroid/content/Intent;->setClass(Landroid/content/Context;Ljava/lang/Class;)Landroid/content/Intent;

    .line 252
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/example/m6wmr/YucartActivity$1;->this$0:Lcom/example/m6wmr/YucartActivity;

    move-object/from16 v23, v0

    move-object/from16 v0, v23

    invoke-virtual {v0, v10}, Lcom/example/m6wmr/YucartActivity;->startActivity(Landroid/content/Intent;)V

    .line 253
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/example/m6wmr/YucartActivity$1;->this$0:Lcom/example/m6wmr/YucartActivity;

    move-object/from16 v23, v0

    invoke-virtual/range {v23 .. v23}, Lcom/example/m6wmr/YucartActivity;->finish()V

    goto/16 :goto_0

    .line 255
    .end local v10    # "intent":Landroid/content/Intent;
    :cond_7
    new-instance v10, Landroid/content/Intent;

    invoke-direct {v10}, Landroid/content/Intent;-><init>()V

    .line 256
    .restart local v10    # "intent":Landroid/content/Intent;
    const-string v23, "orderid"

    move-object/from16 v0, p1

    iget-object v0, v0, Landroid/os/Message;->obj:Ljava/lang/Object;

    move-object/from16 v24, v0

    invoke-virtual/range {v24 .. v24}, Ljava/lang/Object;->toString()Ljava/lang/String;

    move-result-object v24

    move-object/from16 v0, v23

    move-object/from16 v1, v24

    invoke-virtual {v10, v0, v1}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;

    .line 257
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/example/m6wmr/YucartActivity$1;->this$0:Lcom/example/m6wmr/YucartActivity;

    move-object/from16 v23, v0

    const-class v24, Lcom/example/m6wmr/PayActivity;

    move-object/from16 v0, v23

    move-object/from16 v1, v24

    invoke-virtual {v10, v0, v1}, Landroid/content/Intent;->setClass(Landroid/content/Context;Ljava/lang/Class;)Landroid/content/Intent;

    .line 258
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/example/m6wmr/YucartActivity$1;->this$0:Lcom/example/m6wmr/YucartActivity;

    move-object/from16 v23, v0

    move-object/from16 v0, v23

    invoke-virtual {v0, v10}, Lcom/example/m6wmr/YucartActivity;->startActivity(Landroid/content/Intent;)V

    .line 259
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/example/m6wmr/YucartActivity$1;->this$0:Lcom/example/m6wmr/YucartActivity;

    move-object/from16 v23, v0

    invoke-virtual/range {v23 .. v23}, Lcom/example/m6wmr/YucartActivity;->finish()V

    goto/16 :goto_0

    .line 115
    nop

    :sswitch_data_0
    .sparse-switch
        0x0 -> :sswitch_0
        0x1 -> :sswitch_1
        0x2 -> :sswitch_2
        0x7 -> :sswitch_3
        0x8 -> :sswitch_4
        0xb -> :sswitch_6
        0xc -> :sswitch_0
        0xe -> :sswitch_5
        0x12 -> :sswitch_8
        0x64 -> :sswitch_7
    .end sparse-switch
.end method
